package com.ai.manager.edu.cms.info;

import java.util.List;

import com.ai.model.edu.cms.info.InfoDetail;
import com.ai.model.edu.cms.info.dto.InfoDetailDTO;
import com.ai.model.edu.cms.info.vo.InfoDetailVO;

public interface InfoDetailManager {
	/**
     * 保存资讯记录
     */
    public Long insertInfoDetail(InfoDetail record);

    /**
     * Description	： 这里记述method的说明<br>
     * 
     * liuhb
     * @param id
     * @param operator
     * @return
     * @since
     *
     */
    public Long deleteInfoDetail(Long id, Long operator);
		/**
     * 更新资讯记录
     */
    public Long updateInfoDetail(InfoDetail record);
	
    /**
     * 根据条件查询资讯记录
     */
    public List<InfoDetailVO> findInfoDetailByDto(InfoDetailDTO dto);
    
    public List<InfoDetailVO> findInfoDetailPageByDto(InfoDetailDTO dto);
    
    public Long countFindInfoDetailPageByDto(InfoDetailDTO dto);
    
    /**
     * 计算满足条件查询资讯记录数
     */
    public Long countInfoDetailByDto(InfoDetailDTO dto);

    /**
     * 根据主键查询记录
     */
    public InfoDetailVO selectInfoDetailById(Long id);
    
    public InfoDetailVO findInfoDetailById(Long id);
    
    /**
     * 批量查询资讯信息
     * daizy
     * @param ids
     * @return
     */
    public List<InfoDetailVO> betchFindInfoDetailByIds(List<Long> ids);
    
    /**
     * 批量 修改审核状态 回写 栏目
     * @param infoDetailVo
     * @param ids
     */
    public void betchUpdateInfoDetailByIds(InfoDetailDTO infoDetailVo,List<Long> ids);
}